<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
    <title>LuaApp项目接口文档</title>
    <link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>

<div id="container">

<div id="product">
	<div id="product_logo"></div>
	<div id="product_name"><big><b></b></big></div>
	<div id="product_description"></div>
</div> <!-- id="product" -->


<div id="main">


<!-- Menu -->

<div id="navigation">
<br/>
<h1>LuaApp</h1>

<ul>
  <li><a href="../index.html">Index</a></li>
</ul>

<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>


<h2>Classes</h2>
<ul class="nowrap">
  <li><a href="../classes/ActivityIndicatorView.html">ActivityIndicatorView</a></li>
  <li><a href="../classes/AlertView.html">AlertView</a></li>
  <li><a href="../classes/Application.html">Application</a></li>
  <li><a href="../classes/AudioEngine.html">AudioEngine</a></li>
  <li><a href="../classes/Button.html">Button</a></li>
  <li><a href="../classes/CaptureView.html">CaptureView</a></li>
  <li><a href="../classes/CheckBox.html">CheckBox</a></li>
  <li><a href="../classes/ClippingView.html">ClippingView</a></li>
  <li><a href="../classes/Control.html">Control</a></li>
  <li><a href="../classes/DatePickerView.html">DatePickerView</a></li>
  <li><a href="../classes/Device.html">Device</a></li>
  <li><a href="../classes/DownloadManager.html">DownloadManager</a></li>
  <li><a href="../classes/DrawView.html">DrawView</a></li>
  <li><a href="../classes/DrawerController.html">DrawerController</a></li>
  <li><a href="../classes/FileUtils.html">FileUtils</a></li>
  <li><a href="../classes/GifView.html">GifView</a></li>
  <li><a href="../classes/HttpClient.html">HttpClient</a></li>
  <li><a href="../classes/HttpRequest.html">HttpRequest</a></li>
  <li><a href="../classes/Image.html">Image</a></li>
  <li><a href="../classes/ImageView.html">ImageView</a></li>
  <li><a href="../classes/Label.html">Label</a></li>
  <li><a href="../classes/LinearView.html">LinearView</a></li>
  <li><a href="../classes/ListView.html">ListView</a></li>
  <li><a href="../classes/ListViewCell.html">ListViewCell</a></li>
  <li><a href="../classes/NavController.html">NavController</a></li>
  <li><a href="../classes/Progress.html">Progress</a></li>
  <li><strong>Slider</strong></li>
  <li><a href="../classes/Stepper.html">Stepper</a></li>
  <li><a href="../classes/Switch.html">Switch</a></li>
  <li><a href="../classes/TabBarController.html">TabBarController</a></li>
  <li><a href="../classes/TextField.html">TextField</a></li>
  <li><a href="../classes/TextView.html">TextView</a></li>
  <li><a href="../classes/UILoader.html">UILoader</a></li>
  <li><a href="../classes/View.html">View</a></li>
  <li><a href="../classes/ViewController.html">ViewController</a></li>
  <li><a href="../classes/WebView.html">WebView</a></li>
  <li><a href="../classes/Window.html">Window</a></li>
</ul>
<h2>Modules</h2>
<ul class="nowrap">
  <li><a href="../modules/Animation.html">Animation</a></li>
  <li><a href="../modules/class.html">class</a></li>
  <li><a href="../modules/constants.html">constants</a></li>
  <li><a href="../modules/crossapp.html">crossapp</a></li>
  <li><a href="../modules/cjson.html">cjson</a></li>
  <li><a href="../modules/mobdebug.html">mobdebug</a></li>
</ul>
<h2>Topics</h2>
<ul class="">
  <li><a href="../topics/readme.md.html">readme</a></li>
  <li><a href="../topics/layout.md.html">layout</a></li>
</ul>

</div>

<div id="content">

<h1>Class <code>Slider</code></h1>
<p>滑块控件,继承自Control</p>
<p>

</p>
    <h3>See also:</h3>
    <ul>
         <a href="../classes/Control.html#">Control</a>
    </ul>


<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
	<tr>
	<td class="name" nowrap><a href="#Slider:new">Slider:new ()</a></td>
	<td class="summary">创建对象</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:setTarget">Slider:setTarget (callback)</a></td>
	<td class="summary">设置回调事件处理</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:setTargetForTouchUpSide">Slider:setTargetForTouchUpSide (callback)</a></td>
	<td class="summary">设置触摸松开回调事件处理</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:setValue">Slider:setValue (value)</a></td>
	<td class="summary">设置值</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:setMinValue">Slider:setMinValue (value)</a></td>
	<td class="summary">设置最小值</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:setMaxValue">Slider:setMaxValue (value)</a></td>
	<td class="summary">设置最大值</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:setTrackHeight">Slider:setTrackHeight (height)</a></td>
	<td class="summary">设置滚动条高度</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:setMinTrackTintImage">Slider:setMinTrackTintImage (Image)</a></td>
	<td class="summary">设置前景图片(已经划过的部分)</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:setMaxTrackTintImage">Slider:setMaxTrackTintImage (Image)</a></td>
	<td class="summary">设置后景图片(未划过的部分)</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:setThumbTintImage">Slider:setThumbTintImage (Image)</a></td>
	<td class="summary">设置滑块图片</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:getThumbTintImage">Slider:getThumbTintImage ()</a></td>
	<td class="summary">获取滑块图片</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:isTouchClick">Slider:isTouchClick ()</a></td>
	<td class="summary">是否正在点击触摸</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:getValue">Slider:getValue ()</a></td>
	<td class="summary">获取值</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:getMinValue">Slider:getMinValue ()</a></td>
	<td class="summary">获取最小值</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:getMaxValue">Slider:getMaxValue ()</a></td>
	<td class="summary">获取最大值</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:getTrackHeight">Slider:getTrackHeight ()</a></td>
	<td class="summary">获取滚动条高度</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:getMinTrackTintImage">Slider:getMinTrackTintImage ()</a></td>
	<td class="summary">获取前景图片(已经划过的部分)</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#Slider:getMaxTrackTintImage">Slider:getMaxTrackTintImage ()</a></td>
	<td class="summary">获取背景图片(未划过的部分)</td>
	</tr>
</table>

<br/>
<br/>


    <h2 class="section-header "><a name="Methods"></a>Methods</h2>

    <dl class="function">
    <dt>
    <a name = "Slider:new"></a>
    <strong>Slider:new ()</strong>
    </dt>
    <dd>
    创建对象



    <h3>Returns:</h3>
    <ol>

        Slider
    </ol>




</dd>
    <dt>
    <a name = "Slider:setTarget"></a>
    <strong>Slider:setTarget (callback)</strong>
    </dt>
    <dd>
    设置回调事件处理


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">callback</span>
         当滑动值变化时调用
        </li>
    </ul>





</dd>
    <dt>
    <a name = "Slider:setTargetForTouchUpSide"></a>
    <strong>Slider:setTargetForTouchUpSide (callback)</strong>
    </dt>
    <dd>
    设置触摸松开回调事件处理


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">callback</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "Slider:setValue"></a>
    <strong>Slider:setValue (value)</strong>
    </dt>
    <dd>
    设置值


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">value</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "Slider:setMinValue"></a>
    <strong>Slider:setMinValue (value)</strong>
    </dt>
    <dd>
    设置最小值


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">value</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "Slider:setMaxValue"></a>
    <strong>Slider:setMaxValue (value)</strong>
    </dt>
    <dd>
    设置最大值


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">value</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "Slider:setTrackHeight"></a>
    <strong>Slider:setTrackHeight (height)</strong>
    </dt>
    <dd>
    设置滚动条高度


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">height</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "Slider:setMinTrackTintImage"></a>
    <strong>Slider:setMinTrackTintImage (Image)</strong>
    </dt>
    <dd>
    设置前景图片(已经划过的部分)


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">Image</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "Slider:setMaxTrackTintImage"></a>
    <strong>Slider:setMaxTrackTintImage (Image)</strong>
    </dt>
    <dd>
    设置后景图片(未划过的部分)


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">Image</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "Slider:setThumbTintImage"></a>
    <strong>Slider:setThumbTintImage (Image)</strong>
    </dt>
    <dd>
    设置滑块图片


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">Image</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "Slider:getThumbTintImage"></a>
    <strong>Slider:getThumbTintImage ()</strong>
    </dt>
    <dd>
    获取滑块图片



    <h3>Returns:</h3>
    <ol>

        Image
    </ol>




</dd>
    <dt>
    <a name = "Slider:isTouchClick"></a>
    <strong>Slider:isTouchClick ()</strong>
    </dt>
    <dd>
    是否正在点击触摸



    <h3>Returns:</h3>
    <ol>

        is_click
    </ol>




</dd>
    <dt>
    <a name = "Slider:getValue"></a>
    <strong>Slider:getValue ()</strong>
    </dt>
    <dd>
    获取值



    <h3>Returns:</h3>
    <ol>

        value
    </ol>




</dd>
    <dt>
    <a name = "Slider:getMinValue"></a>
    <strong>Slider:getMinValue ()</strong>
    </dt>
    <dd>
    获取最小值



    <h3>Returns:</h3>
    <ol>

        value
    </ol>




</dd>
    <dt>
    <a name = "Slider:getMaxValue"></a>
    <strong>Slider:getMaxValue ()</strong>
    </dt>
    <dd>
    获取最大值



    <h3>Returns:</h3>
    <ol>

        value
    </ol>




</dd>
    <dt>
    <a name = "Slider:getTrackHeight"></a>
    <strong>Slider:getTrackHeight ()</strong>
    </dt>
    <dd>
    获取滚动条高度



    <h3>Returns:</h3>
    <ol>

        height
    </ol>




</dd>
    <dt>
    <a name = "Slider:getMinTrackTintImage"></a>
    <strong>Slider:getMinTrackTintImage ()</strong>
    </dt>
    <dd>
    获取前景图片(已经划过的部分)



    <h3>Returns:</h3>
    <ol>

        Image
    </ol>




</dd>
    <dt>
    <a name = "Slider:getMaxTrackTintImage"></a>
    <strong>Slider:getMaxTrackTintImage ()</strong>
    </dt>
    <dd>
    获取背景图片(未划过的部分)



    <h3>Returns:</h3>
    <ol>

        Image
    </ol>




</dd>
</dl>


</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i style="float:right;">Last updated 2017-04-25 21:28:27 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>
